package com.yanyeori.framework.web.annotation;

import com.yanyeori.framework.web.config.CorsConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 配置允许跨域
 *
 * @author chenkuan 2021/6/9
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({CorsConfig.class})
public @interface EnableCorsConfig {
}
